<?php
$qtip_config_file = dirname(__FILE__)."/config";

if(file_exists($qtip_config_file)) {
    $qtip_config = unserialize(file_get_contents($qtip_config_file));
}

if($qtip_config['aof']) {
    $t = glob(dirname(__FILE__)."/*.js");
    foreach($t as $i) {
        $html_head_code_lib[] = '<script type="text/javascript" src="'.__ADMIN_URL__.substr($i, strlen(__ADMIN_DIR__)).'"></script>';
    }
    $html_head_code[] = '<script type="text/javascript" src="'.__ADMIN_URL__.substr(dirname(__FILE__)."/qTip.init.js_.php", strlen(__ADMIN_DIR__)).'"></script>';
}
?>